////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   INQUIRY_JAVA
// AUTHOR           :   Alex Cheung 
// DATE CREATE      :   2006/02/03
// DESCRIPTION      :   a CRITERIA file for the function, INQUIRY_JAVA
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/02/03   Alex Cheung     1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.report.genericInquiry.inquiryJava.criteria;

import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Alex Cheung 
* @version 1.0     2006/02/03
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class InquiryJavaSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_INQUIRY_JAVA)
	private String srchInquiryTypeFr;                //DB Column Name: INQUIRY_TYPE
	private String srchInquiryTypeTo;                //DB Column Name: INQUIRY_TYPE
	private String srchClassNameFr;                  //DB Column Name: CLASS_NAME
	private String srchClassNameTo;                  //DB Column Name: CLASS_NAME
	private String srchIsMainClassFr;                //DB Column Name: IS_MAIN_CLASS
	private String srchIsMainClassTo;                //DB Column Name: IS_MAIN_CLASS
	private String srchJavaTypeFr;                   //DB Column Name: JAVA_TYPE
	private String srchJavaTypeTo;                   //DB Column Name: JAVA_TYPE

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Alex Cheung 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchInquiryTypeFr = " + this.srchInquiryTypeFr
			+ "\n, srchInquiryTypeTo = " + this.srchInquiryTypeTo
			+ "\n, srchClassNameFr = " + this.srchClassNameFr
			+ "\n, srchClassNameTo = " + this.srchClassNameTo + "}\n";

		String colStr = "COL: { "
			+ "\n, srchIsMainClassFr = " + this.srchIsMainClassFr
			+ "\n, srchIsMainClassTo = " + this.srchIsMainClassTo
			+ "\n, srchJavaTypeFr = " + this.srchJavaTypeFr
			+ "\n, srchJavaTypeTo = " + this.srchJavaTypeTo + "}\n";

		String mandatoryStr = "{}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchInquiryTypeFr() {
		return this.srchInquiryTypeFr;
	}

	public String getSrchInquiryTypeTo() {
		return this.srchInquiryTypeTo;
	}

	public String getSrchClassNameFr() {
		return this.srchClassNameFr;
	}

	public String getSrchClassNameTo() {
		return this.srchClassNameTo;
	}

	public String getSrchIsMainClassFr() {
		return this.srchIsMainClassFr;
	}

	public String getSrchIsMainClassTo() {
		return this.srchIsMainClassTo;
	}

	public String getSrchJavaTypeFr() {
		return this.srchJavaTypeFr;
	}

	public String getSrchJavaTypeTo() {
		return this.srchJavaTypeTo;
	}

	public void setSrchInquiryTypeFr(String srchInquiryTypeFr) {
		this.srchInquiryTypeFr = srchInquiryTypeFr;
	}

	public void setSrchInquiryTypeTo(String srchInquiryTypeTo) {
		this.srchInquiryTypeTo = srchInquiryTypeTo;
	}

	public void setSrchClassNameFr(String srchClassNameFr) {
		this.srchClassNameFr = srchClassNameFr;
	}

	public void setSrchClassNameTo(String srchClassNameTo) {
		this.srchClassNameTo = srchClassNameTo;
	}

	public void setSrchIsMainClassFr(String srchIsMainClassFr) {
		this.srchIsMainClassFr = srchIsMainClassFr;
	}

	public void setSrchIsMainClassTo(String srchIsMainClassTo) {
		this.srchIsMainClassTo = srchIsMainClassTo;
	}

	public void setSrchJavaTypeFr(String srchJavaTypeFr) {
		this.srchJavaTypeFr = srchJavaTypeFr;
	}

	public void setSrchJavaTypeTo(String srchJavaTypeTo) {
		this.srchJavaTypeTo = srchJavaTypeTo;
	}

}
